/**
 * Created by Administrator on 2017/10/10.
 */
angular.module('module.set')
    .controller('HomepageController', HomepageController);
HomepageController.$inject = ['$localStorage', '$state'];
function HomepageController($localStorage, $state) {
    var vm = this;
    if (!$localStorage[environmental + "shopid"]) {
        $localStorage.$reset();
        $state.go('login');
    }
    var shopid = $localStorage[environmental + "shopid"];

    $('.modal-backdrop ').hide(); // ��ʼ��
}